package com.zx.pm.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zx.common.annotation.Excel;
import com.zx.common.core.domain.BaseEntity;

/**
 * 投标项目信息对象 bidding_project
 *
 * @author ruoyi
 * @date 2025-09-01
 */
public class BiddingProject extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 项目ID */
    @Excel(name = "项目ID")
    private Long projectId;

    /** 投标编号 */
    @Excel(name = "投标编号")
    private String biddingNo;

    /** 投标状态 */
    @Excel(name = "投标状态")
    private String biddingStatus;

    /** 投标金额 */
    @Excel(name = "投标金额")
    private BigDecimal biddingAmount;

    /** 投标日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "投标日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date biddingDate;

    /** 投标结果 */
    @Excel(name = "投标结果")
    private String result;

    /** 结果日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结果日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date resultDate;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setProjectId(Long projectId)
    {
        this.projectId = projectId;
    }

    public Long getProjectId()
    {
        return projectId;
    }

    public void setBiddingNo(String biddingNo)
    {
        this.biddingNo = biddingNo;
    }

    public String getBiddingNo()
    {
        return biddingNo;
    }

    public void setBiddingStatus(String biddingStatus)
    {
        this.biddingStatus = biddingStatus;
    }

    public String getBiddingStatus()
    {
        return biddingStatus;
    }

    public void setBiddingAmount(BigDecimal biddingAmount)
    {
        this.biddingAmount = biddingAmount;
    }

    public BigDecimal getBiddingAmount()
    {
        return biddingAmount;
    }

    public void setBiddingDate(Date biddingDate)
    {
        this.biddingDate = biddingDate;
    }

    public Date getBiddingDate()
    {
        return biddingDate;
    }

    public void setResult(String result)
    {
        this.result = result;
    }

    public String getResult()
    {
        return result;
    }

    public void setResultDate(Date resultDate)
    {
        this.resultDate = resultDate;
    }

    public Date getResultDate()
    {
        return resultDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("projectId", getProjectId())
            .append("biddingNo", getBiddingNo())
            .append("biddingStatus", getBiddingStatus())
            .append("biddingAmount", getBiddingAmount())
            .append("biddingDate", getBiddingDate())
            .append("result", getResult())
            .append("resultDate", getResultDate())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
